<template>
  <view class="wrap">
    <view class="nodata">
      <img class="headerBg" src="https://ainengli.hzjrsw.com/jkhx/greenWayImg.png" alt="" />
      <view class="title">开通健康管理会员才可使用此服务哦</view>
      <view class="btn" @tap="buyFun">加入会员</view>
    </view>
  </view>
</template>

<script setup lang="ts">
const buyFun = () => {
  uni.redirectTo({ url: '/packA/pages/buyMember/index?source=greenWay' })
}
</script>
<style lang="scss" scoped>
.wrap {
  min-height: calc(100vh - 150rpx);
  padding-bottom: 170rpx;
  .nodata {
    text-align: center;
    .headerBg {
      display: inline-block;
      margin-top: 142rpx;
      width: 330rpx;
      height: 270rpx;
    }
    .title {
      font-size: 32rpx;
      color: #222;
      font-weight: 700;
      text-align: center;
      margin: 32rpx 0 48rpx;
    }
    .btn {
      margin: 0 96rpx;
      background: #00d1b6;
      height: 88rpx;
      line-height: 88rpx;
      border-radius: 44rpx;
      font-size: 32rpx;
      color: #fff;
      font-weight: 700;
    }
  }
}
</style>
